{if $have_errors}{include file="error.tpl"}{/if}  

<div class="message_box">
{if $no_coockie}<p><span style="color: red; font-weight: bold;">{$lang.no_coockie}</span></p>{/if}
<form id="main_login_form" action="{$index_script}?{$place_name}=auth&{$mode_name}=login" method="{$form_method}">
   {* <input name="{$place_name}" type="hidden" value="auth" />
    <input name="{$mode_name}" type="hidden" value="login" />    *}
    <table>
        <tr><td>{$lang.email}</td><td><input type="text" name="email" value="{$email}" maxlength="90"></td></tr>
        <tr><td>{$lang.password}</td><td><input type="password" name="password" value="" maxlength="32"></td></tr>
        <tr><td>&nbsp;</td><td><input type="submit" value="{$lang.login_lnk}">&nbsp;&nbsp;<a href="reg">{$lang.reg_lnk}</a></td></tr>
        <tr><td colspan="2" align="right"><a href="{$current_location}/forgot">{$lang.forgot_psw_lnk}</a></td></tr>
    </table>
</form>




{if $smarty.const.ALTERNATIVE_LOGIN}
<br><br><hr><br>
<center>
    {include file="vk_login.tpl"}
</center>
{/if}
</div> 